﻿#include <QApplication>
#include <QTranslator>

#include "CMainApplication.h"

int main(int argc, char* argv[])
{
    QApplication a(argc, argv);

    QTranslator t1;
    t1.load("./qit_CN.qm");
    a.installTranslator(&t1);

    CMainApplication ca;
    auto ret = ca.Run(argc, argv);
    if (ret != 0)
    {
        return ret;
    }

    return a.exec();
}
